<style>
table tbody td {
	width: 100px;
}
</style>
<div>
    <div>
        <button ng-click="reset()">重 置</button>
        <br> <br> <label>搜索：</label> <input type="text" ng-model="filter.name" value=" " />
    </div>
    <br>
    <h4>
        <a href="#/edit">新增员工</a>
    </h4>
    <table border="1">
        <thead>
            <tr>
                <th>ID</th>
                <th>员工名称</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="emp in emps|filter:filter.name">
                <td><a href="#/edit?id={{emp.id}}">{{emp.id}}</a></td>
                <td>{{emp.name}}</td>
                <td><a href="#/?id={{emp.id}}">删除</a></td>
            </tr>
        </tbody>
    </table>
</div>